package com.box.entity;

import java.io.UnsupportedEncodingException;

/**
 * @author 文件搜索关键词
 *
 */
public class FilesSearch {
	private String fname;
	private String fdescription;
	private String createTimeStart;
	private String createTimeEnd;
	private String operation;
	public String getFname() {
		return fname;
	}
	public void setFname(String fname) {
		try {
			fname=new String(fname.getBytes("iso-8859-1"),"utf-8");
			this.fname = fname;
		} catch (Exception e) {
			// TODO: handle exception
		}

	}
	public String getFdescription() {
		return fdescription;
	}
	public void setFdescription(String fdescription) {
		try {
			fdescription=new String(fdescription.getBytes("iso-8859-1"),"utf-8");
			this.fdescription = fdescription;
		} catch (Exception e) {
			// TODO: handle exception
		}
	
	}
	public String getCreateTimeStart() {
		return createTimeStart;
	}
	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}
	public String getCreateTimeEnd() {
		return createTimeEnd;
	}
	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public FilesSearch() {
		super();
		// TODO Auto-generated constructor stub
	}
	public FilesSearch(String fname, String fdescription, String createTimeStart, String createTimeEnd,
			String operation) {
		super();
		this.fname = fname;
		this.fdescription = fdescription;
		this.createTimeStart = createTimeStart;
		this.createTimeEnd = createTimeEnd;
		this.operation = operation;
	}
	@Override
	public String toString() {
		return "FilesSearch [fname=" + fname + ", fdescription=" + fdescription + ", createTimeStart=" + createTimeStart
				+ ", createTimeEnd=" + createTimeEnd + ", operation=" + operation + "]";
	}
	

}
